class HomeController < ApplicationController
  skip_before_filter :verify_authenticity_token
  def index
  end

  def show
    @user = User.where(:username => params[:user], :enabled => true).first
    raise ActiveRecord::RecordNotFound if @user.nil?
    respond_to do |format|
       
      format.html do
        response.headers['X-XRDS-Location'] = identity_url(:user => @user, :format => :xrds, :protocol => scheme)
      end
      format.xrds
    end
  end
end
